define(["helper/util"], function(util) {

module("helper/util");

test("hello test", function() {
    ok(1 == "1", "Passed!");
});

test("addArguments test", function() {
  equal(util.addArguments(2, 3), 5);
});

test("Fribazzle test", function() {
    // TODO: util method for creating mock objects.
    var DummySnortch = function() {};
    DummySnortch.prototype = util.Snortch.prototype;
    var mockSnortch = this.mock(new DummySnortch());

    var fribazzle = new util.Fribazzle(mockSnortch.object);

    mockSnortch.expects("getMerbacity").returns(4);

    equal(4, fribazzle.getSnortchMerbacity());
    mockSnortch.verify();
});

});  // define
